package com.taoyi.mhouse.util;

import com.taoyi.mhouse.base.BasePager;
import com.taoyi.mhouse.base.impl.PagerFind;
import com.taoyi.mhouse.base.impl.PagerMessage;
import com.taoyi.mhouse.base.impl.PagerMine;
import com.taoyi.mhouse.base.impl.PagerOrders;
import com.taoyi.mhouse.base.impl.PagerShoppingCar;
import com.taoyi.mhouse.base.impl.RecommendPagerHome;


import java.util.ArrayList;
import java.util.List;

/**
 * Created by tempo on 2015/11/12.
 */
public class PagerFactory {
    public static List<BasePager> getRecommendPagers(){
        List<BasePager> pagers=new ArrayList<BasePager>();
        pagers.add(new RecommendPagerHome());
        pagers.add(new PagerFind());
        pagers.add(new PagerMessage());
        pagers.add(new PagerMine());
        return pagers;
    }
    public static List<BasePager> getShoppingPagers(){
        List<BasePager> pagers=new ArrayList<BasePager>();
        pagers.add(new PagerOrders());
        pagers.add(new PagerShoppingCar());
        pagers.add(new PagerMine());
        return pagers;
    }
}
